package top.hg.tool.modules.car.index;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 个人指标
 * created by skh on 2019/7/13
 */

@TableName("tb_index")
@Data
public class IndexEntity implements Serializable {

    @TableId
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("申请编号")
    @NotNull(message = "申请编码不能为空")
    private String applyNum;

    @ApiModelProperty("姓名")
    @NotNull
    private String name;

    @ApiModelProperty("期号")
    @NotNull
    private String issue;

    @ApiModelProperty("创建时间")
    private Date createTime;
}
